{% load i18n %}
<div class="post" id="post">
	
    {% ifequal blog.entrytype "comic" %}
	<div class="post-comic" id="post-comic">
        {{blog.document.comic}}
    </div>
	{% endifequal %}

	<div class="post-text" id="post-text">		
{% if page and page.object_list %}
{% else %}
	{% if featured %}	
	{% else %}	
		<span id="posts-left">
	{% endif %}
{% endif %}	
			<div class="post-header">
				<div class="post-title"><a href="/{{blog.relative_permalink}}">{{blog.title}}</a></div>
				{% ifnotequal blog.entrytype "page" %}
				<div class="post-date"> {{blog.date|timezone:BLOG.time_zone_offset|date:"l, F d, Y"}} </div>
				{% endifnotequal %}				
			</div>	
		
		    <div class="post-body-detail">
		        {{blog.document.text}}	
		    </div>		
			
			<div class="post-footer">
		    	<div class="comment-count">
		    		<a href="/{{blog.relative_permalink}}#comments">Comment</a><span class="comment-count-total"> : {{blog.weblogreactions_set.count}}</span>
				</div>
		        {% if blog.tags %}
		        <div>
		            Tags:
		            {% for tag in blog.tags %}
		            <a href="/tag/{{ tag|unquote }}">{{ tag|unquote }}</a>{% if not forloop.last %},{% endif %}
		            {% endfor %}
		        </div>
		        {% endif %}
		        {% if user_is_admin %}
		        <div>
		            <span class="post-author">{% blocktrans with blog.author as b_author%}Posted by {{ b_author }} at{% endblocktrans %}</span>
		            <span class="post-timestamp">
		                <A class="timestamp-link" href="/{{blog.relative_permalink}}">{{blog.date|timezone:BLOG.time_zone_offset|date:"H:i A"}}</A>
		            </span>
		        </div>
		        <div>
		        	<span>
		        		:<a href='/edit/blog/{{blog.key.id}}'>{% trans "edit" %}</a>: 
						:<a href='/delete/blog/{{blog.key.id}}'>{% trans "delete" %}</a>:
					</span>
			        {% ifnotequal blog.lastModifiedDate Null %}
			        	{% blocktrans with blog.lastModifiedDate as blog_lastModData and blog.lastModifiedBy as blog_lastModBy %}Edited at {{blog_lastModData}} by {{blog_lastModBy}}.{% endblocktrans %}
			        {% endifnotequal %}
				</div>
		        {% endif  %}
		    </div>
	

{% if page and page.object_list %}
{% else %}
	{% if featured %}	
	{% else %}	
		</span>	
		<span id="posts-right">
			{% include "include/right_column.html" %}
		</span>	
	{% endif %}
{% endif %}

		
	</div>
</div>